Google News
logo
C# - Quiz(MCQ)
Which of the following statements is correct about Bitwise ^ operator used in C#.NET?
A)
The ^ operator can be used to put ON a bit.
B)
The ^ operator can be used to put OFF a bit.
C)
The ^ operator can be used to check whether a bit is ON.
D)
The ^ operator can be used to Invert a bit.

Correct Answer :   The ^ operator can be used to Invert a bit.

Advertisement